﻿@{
    Layout = "~/Views/Shared/_Layout.cshtml";
    string errorMessage = ViewData["errorMessage"] == null ? "" : ViewData["errorMessage"].ToString();
}
<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>错误</title>
</head>
<body>
    <h2>
        @if (errorMessage == "")
        {
            @: 抱歉，处理您的请求时出错。
    }
        else
        {
            @:@errorMessage
            }
    </h2>
</body>
</html>
